﻿@model IEnumerable<Core.Domain.Model.Post>
<p align="right">
    @Html.ActionLink("Adicione um novo Post", "Create")
</p>
@foreach (var item in Model)
{
    <h2>
        @item.PostName
    </h2>
    <p align="right">
        @Html.ActionLink("Comentários", "View", new { Id = item.PostId }) | @Html.ActionLink("Editar", "Edit", new { Id = item.PostId }) | @Html.ActionLink("Remover", "Delete", new { Id = item.PostId })
    </p>
    <p>
        @item.PostDescription
    </p>
}